<img src="static/css/closePopup.png" class="close" alt="close" />
<div class="title">
	<?= $title ?>
</div>
<div class="content" style="width: 520px">
	<table cellpadding="0" cellspacing="0" width="100%" class="hotelsTable">
		<tr>
			<td width="25%">
				<strong>Все звёзды</strong>
				<div class="stars withBorder" onclick="changeStars(this)">
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
				</div>
				<div class="stars" onclick="changeStars(this)">
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
				</div>
				<div class="stars" onclick="changeStars(this)">
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
				</div>
				<div class="stars" onclick="changeStars(this)">
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
				</div>
				<div class="stars" onclick="changeStars(this)">
					<img src="<?= URL::site('static/css/Star.png') ?>" alt="" />
				</div>
			</td>
			<td style="padding-left: 10px">
				<? foreach ($hotels as $item): ?>
					<div class="hotel">
						<span hotel_id="<?= $item['id'] ?>" onmouseup="writeFormValue(this, 'hotel', '<?= $item['title'].'!'.$item['id'] ?>'); changeText(this); clearData('hotels')"><?= $item['title'] ?></span>
					</div>
				<? endforeach ?>
			</td>
		</tr>
	</table>
	<input type="button" value="Ок" class="blueButton" onmouseup="hotelSubmit(this);" stars="5stars" style="float: left; margin: 7px 20px 0 0">
</div>